package com.htudata.node.service.impl;

import com.htudata.node.dao.NodeDao;
import com.htudata.node.service.NodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class NodeServiceImpl implements NodeService {

  @Autowired
  private NodeDao nodeDao;
  
  public int copyNodeToNodeTemp(String flowId) {
    return this.nodeDao.insertNodeToNodeTemp(flowId);
  }
}
